package com.erp.erp_project.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author the bright star
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("custom")
public class Customer {
    @TableId(type = IdType.AUTO)
    private Integer customId;
    private String customName;
    private String fullName;
    private String address;
    private String fax;
    private String email;
    private String ownerName;
    private String ownerTel;
    private Integer status;
    private String note;

    public Customer(String customName, String fullName, String address, String fax, String email, String ownerName, String ownerTel, Integer status, String note) {
        this.customName = customName;
        this.fullName = fullName;
        this.address = address;
        this.fax = fax;
        this.email = email;
        this.ownerName = ownerName;
        this.ownerTel = ownerTel;
        this.status = status;
        this.note = note;
    }
}
